package cn.edu.example.web.controller;

import java.util.List;

import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.ResponseBody;


import cn.edu.example.po.User;

import cn.edu.example.service.UserService;

@Controller
public class HomePageController {
	// 依赖注入
		
	
	@RequestMapping(value = "/home/home_page.action", method = RequestMethod.GET)
	public String userlist2(HttpSession session,Model model) {
		
	    return "home_page";//控制层跳转到jsp
	}
	
	@RequestMapping(value = "/student/student_page.action", method = RequestMethod.GET)
	public String student_page(HttpSession session,Model model) {
		
	    return "student_page";//控制层跳转到jsp
	}
}
